ActionBar: Fix links in set_revealed() doc, etc.
authorDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 20:31:42 +0000 (21:31 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 20:33:00 +0000 (21:33 +0100)
mostly: syncing with previous commit, where InfoBar copied this all from

Also, remove my unhelpful “and vice-versa” from InfoBar.

gtk/gtkactionbar.c
gtk/gtkinfobar.c

index f664735bfe8da84b2a67da4d7a592ee740c276de..80b231a79ca862c24f71b4ede81c348298e64fcb 100644 (file)
@@ -550,11 +550,12 @@ gtk_action_bar_new (void)
  * @action_bar: a #GtkActionBar
  * @revealed: The new value of the property
  *
- * Sets the GtkActionBar:revealed property to @revealed. This will cause
- * @action_bar to show up with a slide-in transition.
+ * Sets the #GtkActionBar:revealed property to @revealed. Changing this will
+ * make @action_bar reveal (%TRUE) or conceal (%FALSE) itself via a sliding
+ * transition.
  *
- * Note that this settings does not automatically show @action_bar and thus won't
- * have any effect if it is invisible.
+ * Note: this does not show or hide @action_bar in the #GtkWidget:visible sense,
+ * so revealing has no effect if #GtkWidget:visible is %FALSE.
  *
  * Since: 3.90
  */
@@ -578,7 +579,7 @@ gtk_action_bar_set_revealed (GtkActionBar *action_bar,
  * gtk_action_bar_get_revealed:
  * @action_bar: a #GtkActionBar
  *
- * Returns:  the current value of the GtkActionBar:revealed property.
+ * Returns: the current value of the #GtkActionBar:revealed property.
  *
  * Since: 3.90
  */
index bd819d421fe6424f253b0c0060919e674d4c71e4..7804a3b3ca9e8c0d540c7ea40967db70b8543ea7 100644 (file)
@@ -1159,7 +1159,7 @@ gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar)
  * @info_bar reveal (%TRUE) or conceal (%FALSE) itself via a sliding transition.
  *
  * Note: this does not show or hide @info_bar in the #GtkWidget:visible sense,
- * so revealing has no effect if #GtkWidget:visible is %FALSE and vice-versa.
+ * so revealing has no effect if #GtkWidget:visible is %FALSE.
  *
  * Since: 3.90
  */